#ifndef __CLOGIN_VIEW_H__
#define __CLOGIN_VIEW_H__

#include "cocos2d.h"
#include "CButton.h"

USING_NS_CC;

class CLoginView : public cocos2d::CCLayer
{
public:
	virtual ~CLoginView();

	CREATE_FUNC(CLoginView);
	virtual bool init();

private:
	CLoginView();

	CCSprite* background;
	CButton* pbPlay;
	CButton* pbFacebook;

	void onButtonClick(CCObject* obj);
};

#endif